import axios from './axios'
let {
  post
} = axios
// 封装post请求
export default (url, query, config) => {
  return axios({
    method: 'post',
    url: url,
    data: query,
    ...config
  })
}